public class Dog {
    String name;
    String type;
    int age;

    public void bite(Dog d){
        System.out.println(this.name+"咬"+d.name+"一嘴毛");
    }
    public void bite(Dog1 a){
        System.out.println(this.name+"咬"+a.name+"无从下口");
    }
    public void bite(Dog2 c){
        System.out.println(this.name+"咬"+c.name+"不识好人心");
    }

}
